<?php

/**
 * LEAGUEMan
 * 
 * Copyright (C) 2007 Marko Bischof
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

?>

<form action="index2.php" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">
	<table cellpadding="4" cellspacing="0" border="0" width="100%">
		<tr>
			<td width="100%"><span class="sectionname"><?php echo 'Add Multiple Teams at once';?></span></td>
		</tr>
	</table>

	<table class="adminform">
		<tr>
			<td valign="top" width="50%"><textarea name="teams" rows="20" cols="50"></textarea></td>
			<td valign="top" width="50%">
			<h2>Example</h2>
			<textarea rows="5" cols="40" disabled="disabled">Teamname 1,short Teamname 1
Teamname 2
Teamname 3,short Teamname 3
			</textarea>
			
			<h2>Description</h2>
			1. ONE record per line<br/>
			2. Enter full team name with short name separated by a comma<br/>
			<b>OR</b><br/>
			2. Enter full team name only<br/><br/>
			
			Team names have to be unique.<br/>
			<b>Already existing Teams will be skipped.</b>
			</td>
		</tr>
	</table>
	
	<input type="hidden" name="option" value="com_leagueman" />
	<input type="hidden" name="act" value="teams" />
	<input type="hidden" name="task" value="bulksave" />
</form>